package com.gk.init.model.vo
{
	/**
	 *用户VO 
	 * @author Nestor
	 * 
	 */	
	public class UserInfoVo
	{
		/**用户ID*/	
		public var user_id:int;
		
		/**用户昵称*/	
		public var user_name:String;
		
		/**用户性别*/
		private var _user_sex:String;
		public static const USER_SEX_MAN:String="man";
		public static const USER_SEX_WOMAN:String="woman";
		
		
		/**用户头像*/	
		public var user_pic:String;
		
		
		private var _mbNum:uint=0;//金币
		private var _kbNum:uint=0;//K币
		private var _popularNum:uint=0;//知名度
		
		
		public function UserInfoVo()
		{
		}

		
		/**
		 *复制VO 
		 * @return 
		 * 
		 */		
		public function clone():UserInfoVo{
			var vo:UserInfoVo = new UserInfoVo();
			vo.user_id = user_id;
			vo.user_name = user_name;
			vo.user_pic = user_pic;
			vo.user_sex = user_sex;
			vo.mbNum = mbNum;
			vo.kbNum = kbNum;
			vo.popularNum = popularNum;
			return vo;
		}
		
		
		
		
		
		
		
		//++++++++++++ GET  & SET  +++++++++++++++++++++++
		
		
		
		/**用户性别*/
		public function get user_sex():String
		{
			return _user_sex;
		}
		/**
		 * @private
		 */
		public function set user_sex(value:String):void
		{
			_user_sex = value == "男"?UserInfoVo.USER_SEX_MAN:UserInfoVo.USER_SEX_WOMAN;
		}

		public function get mbNum():uint
		{
			return _mbNum;
		}

		public function set mbNum(value:uint):void
		{
			_mbNum = value;
		}

		public function get kbNum():uint
		{
			return _kbNum;
		}

		public function set kbNum(value:uint):void
		{
			_kbNum = value;
		}

		public function get popularNum():uint
		{
			return _popularNum;
		}

		public function set popularNum(value:uint):void
		{
			_popularNum = value;
		}


	}
}